﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ASoft.Led
{
    public class RData
    {
        public RData(object text0, object text1, object text2, object text3, object text4, object text5, object text6, object text7)
        {
            this.Text0 = text0.ToString();
            this.Text1 = text1.ToString();
            this.Text2 = text2.ToString();
            this.Text3 = text3.ToString();
            this.Text4 = text4.ToString();
            this.Text5 = text5.ToString();
            this.Text6 = text6.ToString();
            this.Text7 = text7.ToString();
        }

        public RData(object name)
            : this(name, "0", "0", "0", "0", "0", "0", "0")
        {
        }

        public string Text0 { get; private set; }
        public string Text1 { get; private set; }
        public string Text2 { get; private set; }
        public string Text3 { get; private set; }
        public string Text4 { get; private set; }
        public string Text5 { get; private set; }
        public string Text6 { get; private set; }
        public string Text7 { get; private set; }
    }
}
